<%-- 
    Document   : Preferencia
    Created on : 08/12/2011, 23:29:20
    Author     : Rennan
--%>

<%@page import="br.com.ufpb.halloc.comunicacao.Facade"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Prefere</title>
    </head>
    <body>
         <jsp:include page="menubarra.jsp"></jsp:include>
        <%
        Facade f = Facade.getInstance();
        f.inserirPreferencia(request.getParameter("did"), request.getParameter("mat"));                    
        %>
    <div align="center">
        <h1>Preferência inserida com sucesso!</h1>
        <a href="home.jsp">voltar para home</a>
    </div>
    </body>
</html>
